<?php
class Main extends CI_Controller {
	function __construct() {
		parent::__construct();
	}
	
	function index() {
		if($this->session->userdata('logged_in') == false) {
			redirect(site_url('user/login'));
		}
		else {
			redirect(site_url('browser/Browser/bookList'));
		}
	}
}
?>
